export interface ICreateComboRequestData {
  id?: string
  name: string
  source: string
  sku: string
  message: string
  note: string
  image: string
  card: boolean
  minAge: number
  maxAge: number
  area: string
  pageUrl: string
  resourceId: string
  state: string
  superName: string
  superId: string
  operator: number
  team: string
  sum: string
  imageList: string
  img: string
  guide: string
  task: string
  userIds: string
  sourceRemark: string
  numberAddress: string
  isOpen: boolean
  masterId?: string
  masterName?: string
  contractId?: string
  expiryTime: Date
}

export interface IUpdateComboRequestData {
  id: string
  name: string
  source: string
  sku: string
  message: string
  note: string
  image: string
  card: boolean
  minAge: number
  maxAge: number
  area: string
  resourceId: string
  pageUrl: string
  state: string
  superName: string
  superId: string
  operator: number
  team: string
  sum: string
  imageList: string
  img: string
  guide: string
  task: string
  sourceRemark: string
  numberAddress: string
  userIds: string
  isOpen: boolean
  masterId?: string
  masterName?: string
  contractId?: string
  expiryTime: Date
}

export interface IGetComboRequestData {
  /** 当前页码 */
  page: number
  /** 查询条数 */
  size: number
  /**套餐状态查询 */
  state: string
  team: string
  name?: string
  sku?: string
  superSku?: string
  note?: string
  willFlag?: string
  type?: string
  userId?: string
  masterId?: string
  id?: string
}

export interface IGetComboData {
  id: string
  name: string
  source: string
  sku: string
  message: string
  note: string
  image: string
  card: boolean
  minAge: number
  maxAge: number
  area: string
  resourceId: string
  pageUrl: string
  state: string
  superName: string
  superId: string
  operator: number
  team: string
  sum: string
  imageList: string
  img: string
  guide: string
  task: string
  sourceRemark: string
  numberAddress: string
  isOpen: boolean
  userIds: string
  masterId?: string
  contractId?: string
  masterName?: string
  expiryTime: Date
}

export type GetComboResponseData = IApiResponseData<{
  packageList: IGetComboData[]
  total: number
}>
